"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LINT_TOOL_CONFIG = exports.HUSKY_DIR_PATH = exports.LINT_TYPE = exports.LINT_TOOL_KEYS = exports.CWD_PATH = exports.CONFIG_FILE_PATTERN = exports.DEFAULT_LINT_CONFIG = void 0;
var path = require("path");
exports.DEFAULT_LINT_CONFIG = require.resolve("../../render-lint.ts");
exports.CONFIG_FILE_PATTERN = ".render-lint.(ts|js|json)";
exports.CWD_PATH = process.cwd();
exports.LINT_TOOL_KEYS = ["eslint", "stylelint", "prettier", "commitlint"];
exports.LINT_TYPE = {
    eslint: ["common-ts", "common", "react-ts", "react"],
    stylelint: ["common", "react"],
    commitlint: ["common"],
    prettier: ["common", "react"],
};
exports.HUSKY_DIR_PATH = path.resolve(__dirname, "../../lintToolConfig/husky");
exports.LINT_TOOL_CONFIG = {
    eslint: {
        getConfigStrs: require("../../lintToolConfig/.eslintrc.js"),
        filename: ".eslintrc.js",
        pattern: ".eslintrc.(js|yml|json)",
    },
    stylelint: {
        getConfigStrs: require("../../lintToolConfig/.stylelintrc.js"),
        filename: ".stylelintrc.js",
        pattern: [
            ".stylelintrc",
            ".stylelintrc.(cjs|js|json|yaml|yml)",
            "stylelint.config.(cjs|mjs|js)",
        ],
    },
    prettier: {
        getConfigStrs: require("../../lintToolConfig/.prettierrc.js"),
        filename: ".prettierrc.js",
        pattern: [
            ".prettierrc",
            ".prettierrc.(js|json|yml|yaml|json5|mjs|cjs|toml)",
            "prettier.config.(js|mjs|cjs)",
        ],
    },
    commitlint: {
        getConfigStrs: require("../../lintToolConfig/commitlint.config.js"),
        filename: "commitlint.config.js",
        pattern: "commitlint.config.js",
    },
};
